/**
 * 用户服务
 *
 * @author yuwei
 * @date 20:58 2024/4/24
 */
public class claim extends Finance{
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public claim(int money, String name)
    {
        super(money);
        this.name = name;
    }

    @Override
    public String toString() {
        return "内容  "+name+"交易额    "+getMoney()+"日期     "+getTime();
    }
}
